package net.tv90.business.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(autoResultMap = true, value = "student")
public class Student {

    @TableId(type = IdType.AUTO)
    Long id;

    String code;

    String realName;

    String idCard;

    String academy;

    String major;

    @TableField("class")
    String clazz;
}
